import request from "@/utils/request"

export function getTopologyDiagramTreeList(data) {
  return request({
    url: "/topologyDiagram/getTopologyDiagramTreeList",
    method: "get",
    params: data
  })
}

export function getOneParValue(data) {
  return request({
    url: "/topologyDiagram/getOneParValue",
    method: "get",
    params: data
  })
}

export function getDeviceTreeList(data) {
  return request({
    url: "/topologyDiagram/getDeviceTreeList",
    method: "get",
    params: data
  })
}

export function getDeviceTreeListV2(data) {
  return request({
    url: "/topologyDiagram/getDeviceTreeListV2",
    method: "get",
    params: data
  })
}

